﻿CREATE TABLE [dbo].[Library]
(
	[Id] BIGINT NOT NULL IDENTITY(1,1) PRIMARY KEY,
	[UserId] BIGINT NOT NULL,
	[FolderId] BIGINT NOT NULL,
	CONSTRAINT [FK_Library_Folder] FOREIGN KEY ([FolderId]) REFERENCES [dbo].[Folder] ([Id]) ON DELETE CASCADE ON UPDATE NO ACTION
)
